.datasheet {
  display: flex;
  height: 100%;

  .loading {
    text-align: center;
    margin-top: 100px;
  }

  .dataWrap {
    flex: 1;
    display: flex;
    flex-direction: column;

    .update {
      margin-left: 40px;
      font-size: 14px;
      color: #666666;
    }

    :global {
      .ant-card-head {
        z-index: 100;
      }

      .ant-card-body {
        flex: 1;
        overflow-y: auto;
      }
    }
  }

  .formList {
    position: relative;
    width: 300px;
    display: flex;
    flex-direction: column;

    .add {
      position: absolute;
      right: 10px;
      top: 500px;
      width: 44px;
      height: 44px;
      line-height: 44px;
      font-size: 22px;
      cursor: pointer;
      text-align: center;
      color: #fff;
      background-color: #1890ff;
      border-radius: 50%;
      box-shadow: 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 6px 16px 0 rgba(0, 0, 0, 0.08),
        0 9px 28px 8px rgba(0, 0, 0, 0.05);
    }

    :global {
      .ant-card-head {
        z-index: 100;
      }

      .ant-card-body {
        flex: 1;
        overflow-y: auto;
      }
    }
  }

  :global {
    .ant-tree-treenode {
      width: 100%;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;

      .ant-tree-node-content-wrapper {
        width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;

        .ant-tree-title {
          display: inline-block;
          width: 100%;

          .treeChildren {
            display: flex;
            width: 100%;

            b {
              font-weight: inherit;
              flex: 1;
              overflow: hidden;
              text-overflow: ellipsis;
              white-space: nowrap;
            }

            > span:last-child {
              display: none;
              float: right;
              margin-top: 4px;
              padding-left: 10px;
            }
          }

          .active {
            b {
              color: #1890ff;
            }

            > span:last-child {
              display: block;
            }
          }
        }

        &.ant-tree-node-selected {
          //background-color: transparent;
        }
      }
    }
  }
}
